﻿using SqlSugar;
using Fortunate.IService.BASE;
using System.Linq.Expressions;

namespace Fortunate.Service.BASE
{
    public class BaseServices<TEntitiy> : IBaseServices<TEntitiy> where TEntitiy : class, new()
    {
        /// <summary>
        /// 
        /// </summary>
        protected readonly ISqlSugarClient db;
        /// <summary>
        /// 
        /// </summary>
        /// <param name="_db"></param>
        public BaseServices(ISqlSugarClient _db)
        {
            db = _db;
        }
    }
}
